package com.example.demo.DAO;

import com.example.demo.User.User;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UserDAO {
    Boolean addUser(User user);
    Boolean deleteUser(String userId,String password);
    Boolean updateUser(User user);
    List<User> findAllUser();
    User findUserById(String id);

    User authenticate(String adminId, String password);
}
